package com.security.util;

/**
 * @program: my-springboot
 * @description: 响应码
 * @author: zyj
 * @create: 2019-12-05 11:36
 **/
public enum SecurityCode {

    IMG_CODE("imageCode", "验证码"),
    IMG_CODE_SESSION("session_imageCode", "验证码session"),
    IMG_CODE_SESSION_TIME("session_imageTimes", "验证码session");


    private String code;
    private String descripe;

    SecurityCode(String code, String descripe){
        this.code = code;
        this.descripe = descripe;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescripe() {
        return descripe;
    }

    public void setDescripe(String descripe) {
        this.descripe = descripe;
    }
}
